﻿namespace WFBot.Workflow
{
    using System.Collections.Generic;

    public interface IWorkflowService
    {
        void Push(Message message);
        List<Message> Pull(string channel);
        void Bookmark(string channel);
        void Resume(string applicationName, object value);
        void Run<TActivity>(string applicationName) where TActivity : class, new();
    }
}
